package com.inspur.neoinput.neo4j.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.wang
 * @since 2021-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EntityRel对象", description="")
public class EntityRel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关系记录唯一ID")
    @TableId(value = "entity_word_rel_id", type = IdType.AUTO)
    private Long entityWordRelId;

    @ApiModelProperty(value = "tag_model主键")
    private String entityWordRelUid;

    @ApiModelProperty(value = "实体1ID")
    private Long entityWord1Id;

    private String entityWord1Name;

    @ApiModelProperty(value = "关系编码")
    private Integer entityTypeRelCode;

    @ApiModelProperty(value = "实体2ID ")
    private Long entityWord2Id;

    @ApiModelProperty(value = "目标实体内容")
    private String entityWord2Name;

    private Date createTime;

    private Date updateTime;

    private Integer status;

    @ApiModelProperty(value = "关系组ID")
    private String relGroupId;


}
